home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / graphics.17 / graphics / graphics-0.17 / plot2tek / erase.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-12  |  1.1 KB  |  29 lines

  1. /* This file is the erase routine, which is a standard part of the plot
  2.    library. It erases the page. 
  3.    */
  4. #include "sys-defines.h"
  5. #include "libplot.h"
  6.  
  7. int
  8. erase ()
  9. {
  10.   fputs ("\033\014", stdout); /* ESC CTRL-L */
  11.   return 0;
  12. }
  13.  
  14. /* libtek, a library of functions for tektronics 4010 compatible devices.
  15.    Copyright (C) 1989 Free Software Foundation, Inc.
  16.  
  17. libtek is distributed in the hope that it will be useful, but WITHOUT ANY
  18. WARRANTY.  No author or distributor accepts responsibility to anyone for the
  19. consequences of using it or for whether it serves any particular purpose or
  20. works at all, unless he says so in writing.  Refer to the GNU General Public
  21. License for full details.
  22.  
  23. Everyone is granted permission to copy, modify and redistribute libtek, but
  24. only under the conditions described in the GNU General Public License.  A copy
  25. of this license is supposed to have been given to you along with libtek so
  26. you can know your rights and responsibilities.  It should be in a file named
  27. COPYING.  Among other things, the copyright notice and this notice must be
  28. preserved on all copies.  */
  29.